NAME sort


ABOUT
Sorts the strings.


SYNTAX
sort [-r] [FILE]


DESCRIPTION
Sorts the lines in a text file or strings from standard input and print to standard output.

[-r] Sort in reverse order.


EXAMPLES
sort hope.txt
Sort the file, hope.txt in order and print to standard output.

sort -r hope.txt
Sort the file, hope.txt in reverse order and print to standard output.

sort
Sort stings from standard input in order and print them to standard output.

sort -r
Sort stings from standard input in reverse order and print them to standard output.